﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CaseWarningViewAllUserControl.ascx.cs" Inherits="JM.JCY.SharePointComponent.LawArchives.CaseWarningViewAll.CaseWarningViewAllUserControl" %>


<div>
    <table class="main" width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td>
                <table class="webpart" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th id="togglePublicDoc" align="left">
                            <h2>
                                <img src="/_layouts/JM.JCY.Resource/images/discussion.png" width="24" />
                                案件预警</h2>
                        </th>
                    </tr>
                    <tr>
                        <td>
                            <hr />
                        </td>
                    </tr>

                           <table width="100%" class="form">
                                <tr>
                                    <td>
                                        承办部门
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td>
                                           <asp:DropDownList ID ="ddlDepartment" runat="server" Width="320"></asp:DropDownList>
                                    </td>
                                </tr>

                                  <tr>
                                    <td>
                                        承办人
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td>
                                        <asp:textbox id="txtCBR" runat="server" Width="320"></asp:textbox>
                                    </td>
                                </tr>

                                     <tr>
                                    <td>
                                        到期日期
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td class="nopaddingleft">
                                        <table cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td align="left" valign="top" class="nopaddingleft">
                                                    <sharepoint:datetimecontrol id="dtDateFrom" calendarimageurl="/_layouts/JM.JCY.Resource/images/calendar.jpg"
                                                        datepickerframeurl="/_layouts/iframe.aspx" dateonly="true" calendar="Gregorian"
                                                        localeid="2057" runat="server"></sharepoint:datetimecontrol>
                                                </td>
                                                <td>
                                                    -
                                                </td>
                                                <td align="left" valign="top" class="nopaddingleft">
                                                    <sharepoint:datetimecontrol id="dtDateTo" calendarimageurl="/_layouts/JM.JCY.Resource/images/calendar.jpg"
                                                        datepickerframeurl="/_layouts/iframe.aspx" dateonly="true" calendar="Gregorian"
                                                        localeid="2057" runat="server"></sharepoint:datetimecontrol>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            
 
                                <tr><td colspan=3><br /><hr /></td></tr>
                                    <tr>
                                    <td colspan="3" class="button" align="right">
                                        <asp:imagebutton id="imgSubmit" runat="server" 
                                            imageurl="~/_layouts/JM.JCY.Resource/images/search.png" 
                                            onclick="imgSubmit_Click" />
                                        <asp:imagebutton id="imgCancel" runat="server" 
                                            imageurl="~/_layouts/JM.JCY.Resource/images/cancel.png" 
                                            onclick="imgCancel_Click"/>
                                    </td>
                                </tr>
                                    <tr>
                        <td colspan="6">
                            <div id="divTogglePublicDoc">
                                <asp:GridView ID="gvCaseWarning" runat="server" AutoGenerateColumns="False" BorderWidth="0px"
                                    GridLines="Horizontal" CssClass="altrowstablebc" Width="100%" OnRowDataBound="gvCaseWarning_RowDataBound"
                                    EnableModelValidation="True" PageSize="20" AllowPaging="true"
                                    onpageindexchanging="gvCaseWarning_PageIndexChanging">
                                    <Columns>
                                        <asp:BoundField HeaderText="案号" DataField="C_AH" />
                                        <asp:BoundField HeaderText="承办部门" DataField="C_CBBM" />
                                        <asp:BoundField HeaderText="承办人" DataField="C_CBR" />
                                         <asp:BoundField HeaderText="案件阶段" DataField="C_AJJD" />
                                          <asp:BoundField HeaderText="当前阶段" DataField="C_DQJD" />
                                        <asp:BoundField HeaderText="开始日期" DataField="D_KSRQ" DataFormatString="{0:yyyy-MM-dd}"
                                            HtmlEncode="False" />
                                             <asp:BoundField HeaderText="到期日期" DataField="D_DQRQ" DataFormatString="{0:yyyy-MM-dd}"
                                            HtmlEncode="False" />
                                        <asp:BoundField HeaderText="超期天数" DataField="N_CQTS" />
                                        <asp:BoundField HeaderText="嫌疑人姓名" DataField="C_XYR" />
                                           <asp:BoundField HeaderText="嫌疑人案由" DataField="C_XYRAY" />
                                          
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </td>
                    </tr>
                            </table>

                
                </table>
            </td>
        </tr>
    </table>
    
</div>